html{
	height:100%;
	padding:0;
	margin:0;
	background:red;
}
body{
	height:100%;
	padding:0;
	background:#fff;
	font-weight:300;
	color:#000;
	font-size:14px;
	font-family: 'Helvetica Neue', Helvetica, Arial, 'Hiragino Sans GB', 微软雅黑,
    tahoma, simsun, sans-serifbody;
}
.main{
	position:absolute;
	left:0;
	right:0;
	top:0;
	bottom:0;
	background: url(/img/invite_bg.png) no-repeat;
    background-size: 100% 100%;
}
/* flex */
.flex-layout {
  display: flex;
  display: -webkit-flex;
  align-items: center;
  justify-content: center;
}
.invite {
  position: absolute; 
  top: 50px;
  left: 13%;
  right: 13%;
  bottom:50px;
  max-width: 600px;
  margin: 0 auto;
  /* background: url(/img/invite_bg.png) no-repeat;
  background-size: 100% 100%; */
}
.invite .invite-content {
  width: 100%;
  height: 100%;
  max-width: 500px;
  margin: 0 auto;
}
.invite .invite-content .topInner {
  height: 50%;
  background: url(/img/invite_content_top_bg.png) no-repeat
    top center;
  background-size: 100% 100%;
  text-align: center;
}
.invite .invite-content .botInner {
  height: 50%;
  background: url(/img/invite_content_bot_bg.png) no-repeat;
  background-size: 100% 100%;
  overflow: hidden;
}
.invite .invite-content .topInner,
.invite .invite-content .botInner {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}
.invite .invite-content .botInner .botInner-content-wrap,
.invite .invite-content .topInner .topInner-content-wrap {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.invite .invite-content .topInner .topInner-content-wrap .heade-inner-wrap {
  /* flex: 2; */
  /* display: flex;
  align-items: center;
  flex-direction: column; */
  height:55%; 
}
.invite .invite-content .topInner .topInner-content-wrap .heade-inner-wrap p {
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 0% 0 3%;
}
.invite .invite-content .topInner .topInner-content-wrap .topInner-img-wrap {
  /* padding: 0 0 62px; */
  height: 100%;
  box-sizing: border-box;
  position: relative;
}
.invite .invite-content .topInner .topInner-content-wrap .topInner-img-wrap .topInner-heade-wrap {
  height: 100%;
  display: flex;
  display: -webkit-flex;
  align-items: center; /*垂直居中*/
  justify-content: center; /*水平居中*/
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  justify-content: center;
}

.invite .invite-content .topInner .topInner-content-wrap .topInner-img-wrap .topInner-heade-wrap > div{
  	height:100%;
  	box-sizing:border-box;
  	padding:10.5% 0;
 }

.invite .invite-content .topInner .heade-inner img {
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0px 2px 5px #e2e2e2;
  width: 80px;
  height: 80px;
  margin: 0 auto;
}
.invite .invite-content .topInner .heade-inner .headeinnerimg {
  display: inline-block;
  height: 100%;
  margin: 0 auto;
}
.invite .invite-content .topInner .nick-name {
  font-size: 16px;
  color: #000;
  font-weight: 600;
  width: 70%;
  margin: 10px auto 5px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  /* flex: 1;
  display: flex;
  align-items: center;
  padding: 0% 0 0;
  justify-content: center;
  max-height: 25px;
  flex-direction: column; */
}

.invite .invite-content .topInner .slogan {
  font-size: 18px;
  font-weight: bold;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 30px;
  flex-direction: column;
}


.invite .invite-content .botInner .btn-wrap {
  flex: 2;
  display: flex;
  align-items: center;
}

.invite .invite-content .botInner p {
  text-align: center;
  padding: 9% 0 0;
  flex: 3;
  word-break: break-all;
  display: flex;
  align-items: center;
  justify-content: center;
}
.invite .invite-content .botInner p span {
  display: inline-block;
  height: 100%;
  margin: 0 auto;
  min-width: 110px;
  min-height: 110px; 
  max-width: 140px;
  max-height: 140px; 
}
.invite .invite-content .botInner p img {
  margin: 0 auto;
  /* min-width:100px;
  min-height:100px;
  max-width:140px;
  max-height:140px; */
  width:100%;
  height:100%; 
}
.invite .invite-content .botInner button {
  width: 80%;
  color: #fff;
  line-height: 35px;
  font-size: 13px;
  background:#f34545;
  margin:0 auto;
  text-align:center;
  border-radius:3px;
}

::-webkit-scrollbar {
  display: none;
}

@media only screen and (max-width: 320px) {
  .invite {
    padding: 20px 25px 20px;
  }
  /* .invite .invite-content .topInner .heade-inner img {
    width: 60px !important;
    height: 60px !important;
  } */
  .invite .invite-content .topInner .topInner-content-wrap .topInner-img-wrap {
    /* padding: 4% 0 55px; */
  }
  .invite .invite-content .botInner p img {
    min-width: 100px !important;
    min-height: 100px !important;
  }


  .invite .invite-content .topInner .topInner-content-wrap .heade-inner-wrap p {
    padding: 0 0 10px;
  }
}

@media (min-width: 321px) and (max-width: 412px) {
  .invite .invite-content .botInner button {
    margin: 0 auto;
  }
  .invite .invite-content .botInner p {
    box-sizing: border-box;
    text-align: center;
  }
  .invite .invite-content .topInner .heade-inner img {
    min-width: 100px;
    min-height: 100px;
    max-width: 100px;
    max-height: 100px;
  }
}

